#include <stdio.h>

int main() {
  unsigned short d = 0;
  int v = 1;
  if (v < 0)
    d = (unsigned short)-v;
  else
    d = (unsigned short)v;

  if (d >= 0x10000)
    printf("error\n");
  else
    printf("ok\n");
}

